import sendFetch from '../request/index'

export const login = (data) => sendFetch('/api/user/login', data, 'post')
export const userCreate = (data) => sendFetch('/api/user/create', data, 'post')
export const userUpdate = (data) => sendFetch('/api/user/update', data, 'post')
export const userDelete = (data) => sendFetch('/api/user/delete', data, 'post')
export const userSelect = (data) => sendFetch('/api/user/select', data, 'post')